package com.heima.article;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 文章微服务启动类
 *
 * @Author ilurfucy
 * @Date 2022/8/28     9:52
 * @Description 文章微服务启动类
 **/

@SpringBootApplication
@Slf4j
@MapperScan("com.heima.article.mapper")
public class ArticleApplication {

    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class,args);
        log.info("文章微服务启动成功");
    }
}
